package practice.phase03.module04.zookeeper;

import org.I0Itec.zkclient.ZkClient;

/**
 * @author Alex Zhang
 */
public class ZkHelper {
    private static ZkClient client;

    private ZkHelper() {
    }

    public static ZkClient getZkClient() {
        if (null == client) {
            client = new ZkClient("n1:2181");
        }
        return client;
    }
}
